package cn.tj212.inmall.service;

import cn.tj212.inmall.common.ServerResponse;
import cn.tj212.inmall.vo.OrderVo;
import com.github.pagehelper.PageInfo;

public interface IOrderService {
    ServerResponse<PageInfo> manageList(int pageNum, int pageSize);

    ServerResponse<OrderVo> manageDetail(Long orderNo);

    ServerResponse<PageInfo> manageSearch(Long orderNo, int pageNum, int pageSize);

    ServerResponse<String> manageSendGoods(Long orderNo);

    ServerResponse createOrder(Integer id, Integer shippingId);

    ServerResponse<String> cancel(Integer id, Long orderNo);

    ServerResponse getOrderCartProduct(Integer id);

    ServerResponse<OrderVo> getOrderDetail(Long orderNo);

    ServerResponse<PageInfo> getOrderList(Integer id, int pageNum, int pageSize);
}
